/*
 * File:    Defines_RadioControl.h
 * Project:	HobbyPilotFirmware (HPF)
 * Author:  Wouter van Verre
 *
 * Created on March 18, 2011, 2:29 PM
 */

#ifndef __DEFINES_RADIOCONTROL_H
#define __DEFINES_RADIOCONTROL_H

/** Includes **/
#include "Options.h"

/** Defines **/
#define CHANNEL_1			0
#define CHANNEL_2			1
#define CHANNEL_3			2
#define CHANNEL_4			3

#define CHANNEL_UNUSED	   -1

/** Structures **/
typedef struct
{
	int CurrentValue;
	int NextValue;
	int Setpoint;
} PWMOutChannel;

/** Variables **/
extern int ServoIn[NUM_CHAN_IN];
extern PWMOutChannel ServoOut[NUM_CHAN_OUT];

#endif
